// ******************************************************************
// * Copyright(c)  Dextrys P&G Team
// * Description   : Schema_MST_WAREHOUSE
// * CreateDate    : 2012/10/29 14:51:02
// * Creater       : MstWarehouseTable
// * LastChangeDate: 2012/10/29 14:51:02
// * LastChanger   : 2012/10/29 14:51:02
// * Version Info  : 1.0 For LKBOOK
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstWarehouseTable : TableInfo
    {
		public const string C_TableName = "MST_WAREHOUSE";
		
		public const string C_WAREHOUSE_CODE = "WAREHOUSE_CODE";
		public const string C_WAREHOUSE_NAME = "WAREHOUSE_NAME";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_MANAGER = "MANAGER";
		public const string C_LOCKED = "LOCKED";
		public const string C_DELETE_FLAG = "DELETE_FLAG";
		public const string C_WAREHOUSE_TYPE = "WAREHOUSE_TYPE";
		
		public MstWarehouseTable()
        {
            _tableName = "MST_WAREHOUSE";
        }
		
		protected static MstWarehouseTable _current;
        public static MstWarehouseTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstWarehouseTable();

            _current.Add(C_WAREHOUSE_CODE, new ColumnInfo(C_WAREHOUSE_CODE,"WarehouseCode", true, typeof(string)));
            _current.Add(C_WAREHOUSE_NAME, new ColumnInfo(C_WAREHOUSE_NAME,"WarehouseName", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_MANAGER, new ColumnInfo(C_MANAGER,"Manager", false, typeof(string)));
            _current.Add(C_LOCKED, new ColumnInfo(C_LOCKED,"Locked", false, typeof(int)));
            _current.Add(C_DELETE_FLAG, new ColumnInfo(C_DELETE_FLAG,"DeleteFlag", false, typeof(int)));
            _current.Add(C_WAREHOUSE_TYPE, new ColumnInfo(C_WAREHOUSE_TYPE,"WarehouseType", false, typeof(string)));
			
		}
		
		public ColumnInfo WAREHOUSE_CODE
        {
            get { return this[C_WAREHOUSE_CODE]; }
        }
		
		public ColumnInfo WAREHOUSE_NAME
        {
            get { return this[C_WAREHOUSE_NAME]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo MANAGER
        {
            get { return this[C_MANAGER]; }
        }
		
		public ColumnInfo LOCKED
        {
            get { return this[C_LOCKED]; }
        }
		
		public ColumnInfo DELETE_FLAG
        {
            get { return this[C_DELETE_FLAG]; }
        }
		
		public ColumnInfo WAREHOUSE_TYPE
        {
            get { return this[C_WAREHOUSE_TYPE]; }
        }
		
		
		
	}
}

